package cn.com.mall.product.service;

import cn.com.mall.product.vo.AttrVO;
import cn.com.mall.product.vo.SkuItemVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.com.mall.common.utils.PageUtils;
import cn.com.mall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yangwen
 * @email yangwen@servyou.com.cn
 * @date 2020-04-09 23:52:34
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, int catelogId);


    List<AttrGroupEntity> getAttrGroupsByCatlogId(Long catLogId);

    List<AttrVO> getAttrsByAttrGroupId(Long catLogId);

    List<SkuItemVo.SpuItemAttrGroupVo> getAttrGroupsBySpuId(Long spuId,Long catalogId);
}

